package com.wonders.hisdoctor.station.project.base.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>RECORD_USE_DICT</p>
 * <p>db_table: RECORD_USE_DICT</p>
 * @author tong-aj
 * @date 2021/02/22
 */
@ApiModel("RECORD_USE_DICT")
@Accessors(chain = true)
@Data
@ToString
@TableName("RECORD_USE_DICT")
public class RecordUseDict implements Serializable {

    private static final long serialVersionUID = 4767269362217192738L;

    /** `主键` db_field: ID; desc: ID */
    @ApiModelProperty("ID")
    @TableId
    @NotNull(message = "ID不能为空")
    @TableField("ID")
    private String id;

    /** db_field: TABLE_NAME; desc: TABLE_NAME */
    @ApiModelProperty("TABLE_NAME")
    @TableField("TABLE_NAME")
    @NotNull(message = "表名不能为空")
    private String tableName;

    /** db_field: TABLE_NAME_CN; desc: TABLE_NAME_CN */
    @ApiModelProperty("TABLE_NAME_CN")
    @TableField("TABLE_NAME_CN")
    @NotNull(message = "表中文名不能为空")
    private String tableNameCn;

    /** db_field: TYPE; desc: 1：业务表；2：字典表；3：视图 */
    @ApiModelProperty("1：业务表；2：字典表；3：视图")
    @TableField("TYPE")
    @NotNull(message = "表类型能为空")
    private String type;

}